package com.qf.service;

import com.codingapi.txlcn.tc.annotation.LcnTransaction;
import com.qf.mapper.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.web.client.RestTemplate;

/**
 * 转钱
 * @author lixu
 */
@Service
public class BServiceImpl {


    @Autowired
    private UserMapper userMapper;


    /**
     * 转钱  张三
     */
    @Transactional
    @LcnTransaction
    public void payMoney() {
        //给李四加钱
        userMapper.payMoney();

    }
}
